<%--
    Document   : Pacientes
    Created on : 19/06/2010, 03:00:08 PM
    Author     : rvertiz
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="en-us">

<TITLE>Clinica Anglolab - Bienvenido a la Intranet de Laboratoristas:</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<LINK href="css/styles.css" rel=stylesheet>
</HEAD>
<BODY BGCOLOR=#FFFFFF topmargin="0" leftmargin="0">
<center>
  <TABLE WIDTH=791 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<TR>
		<TD width="13">
			<IMG SRC="spacer.gif" WIDTH=13 HEIGHT=1></TD>
		<TD width="72">
			<IMG SRC="spacer.gif" WIDTH=72 HEIGHT=1></TD>
		<TD width="57">
			<IMG SRC="spacer.gif" WIDTH=57 HEIGHT=1></TD>
		<TD width="80">
			<IMG SRC="spacer.gif" WIDTH=80 HEIGHT=1></TD>
		<TD width="58">
			<IMG SRC="spacer.gif" WIDTH=58 HEIGHT=1></TD>
		<TD width="7">
			<IMG SRC="spacer.gif" WIDTH=7 HEIGHT=1></TD>
		<TD width="12">
			<IMG SRC="spacer.gif" WIDTH=12 HEIGHT=1></TD>
		<TD width="50">
			<IMG SRC="spacer.gif" WIDTH=50 HEIGHT=1></TD>
		<TD width="10">
			<IMG SRC="spacer.gif" WIDTH=10 HEIGHT=1></TD>
		<TD width="105">
			<IMG SRC="spacer.gif" WIDTH=105 HEIGHT=1></TD>
		<TD width="9">
			<IMG SRC="spacer.gif" WIDTH=9 HEIGHT=1></TD>
		<TD width="95">
			<IMG SRC="spacer.gif" WIDTH=95 HEIGHT=1></TD>
		<TD width="18">
			<IMG SRC="spacer.gif" WIDTH=18 HEIGHT=1></TD>
		<TD width="80">
			<IMG SRC="spacer.gif" WIDTH=80 HEIGHT=1></TD>
		<TD width="124">
			<IMG SRC="spacer.gif" WIDTH=124 HEIGHT=1></TD>
		<TD width="1"></TD>
	</TR>
	<TR>
		<TD COLSPAN=15>
			<IMG SRC="images/Slice01.gif" WIDTH=790 HEIGHT=239></TD>
		<TD width="1">
			<IMG SRC="spacer.gif" WIDTH=1 HEIGHT=239></TD>
	</TR>
	<TR>
		<TD COLSPAN=6>
			<IMG SRC="images/Slice02.gif" WIDTH=287 HEIGHT=42></TD>
		<TD COLSPAN=3>
			<a href="laboratoristas_mantener.htm?metodo=menu_laboratoristas">
			<IMG SRC="images/Slice03.gif" WIDTH=72 HEIGHT=42 onMouseOver="this.src='images/Slice03_over.gif';" onMouseOut="this.src='images/Slice03.gif';" border="0"></a></TD>
		<TD width="105">
			<a href="pacientes_mantener.htm">
			<IMG SRC="images/Slice04.gif" WIDTH=105 HEIGHT=42 onMouseOver="this.src='images/Slice04_over.gif';" onMouseOut="this.src='images/Slice04.gif';" border="0"></a></TD>
		<TD COLSPAN=2>
			<a href="fichas_mantener.htm">
			<IMG SRC="images/Slice05.gif" WIDTH=104 HEIGHT=42 onMouseOver="this.src='images/Slice05_over.gif';" onMouseOut="this.src='images/Slice05.gif';" border="0" ></a></TD>
		<TD COLSPAN=2>
			<a href="#">
			<IMG SRC="images/Slice06.gif" WIDTH=98 HEIGHT=42 onMouseOver="this.src='images/Slice06_over.gif';" onMouseOut="this.src='images/Slice06.gif';" border="0"></a></TD>
		<TD width="124">
			<a href="#">
			<IMG SRC="images/Slice07.gif" WIDTH=124 HEIGHT=42 onMouseOver="this.src='images/Slice07_over.gif';" onMouseOut="this.src='images/Slice07.gif';" border="0"></a></TD>
		<TD width="1">
			<IMG SRC="spacer.gif" WIDTH=1 HEIGHT=42></TD>
</TABLE>
    <p><strong>Resultados de Ficha Médica - Laboratorista </strong></p>

<label>
  <input name="btnregresar" type="button" id="btnregresar" value="Regresar" onclick="window.location='pacientes_mantener.htm?metodo=listarPacientes'">
</label>
<table WIDTH=791 BORDER=2 CELLPADDING=0 CELLSPACING=0>
  <tr class="altrow1">
    <th><font face="Arial" size="3" color="#0099FF">Id Result</font></th>
    <th><font face="Arial" size="3" color="#0099FF">Analisis</font></th>
    <th><font face="Arial" size="3" color="#0099FF">Resultado</font></th>
    <th><font face="Arial" size="3" color="#0099FF">Fecha Registro</font></th>
    <th><font face="Arial" size="3" color="#0099FF">Estado Publicacion</font></th>
    <th><font face="Arial" size="3" color="#0099FF">Accion</font></th>
  </tr>
  <c:forEach items="${resultados}" var="c">
  <tr class="altrow1">
    <td><font face="Arial" size="2" color="#0099FF">${c.id_resultado}</font></td>
    <td><font face="Arial" size="2" color="#0099FF">${c.descripcion_analisis}</font></td>
    <td><font face="Arial" size="2" color="#0099FF">${c.descripcion_resultado}</font></td>
    <td><font face="Arial" size="2" color="#0099FF">${c.fec_registro}</font></td>
    <c:choose>
        <c:when test="${c.estado_publicacion == 0}">
            <td><font face="Arial" size="2" color="#0099FF">NO PUBLICADO</font></td>
            <td><a href="resultado_mantener.htm?metodo=actualizar_estado_publicacion&id_ficha=${c.id_ficha_medica}&id_resultado=${c.id_resultado}&estado_publicacion=1">Publicar Resultado</a></td>
        </c:when>
        <c:otherwise>
            <td><font face="Arial" size="2" color="#0099FF">PUBLICADO</font></td>
            <td><a href="resultado_mantener.htm?metodo=actualizar_estado_publicacion&id_ficha=${c.id_ficha_medica}&id_resultado=${c.id_resultado}&estado_publicacion=0">Deshacer Publicación</a></td>
        </c:otherwise>
    </c:choose>
    
  </tr>
</c:forEach>
</table>
</center>
</BODY>
</HTML>